package com.ruoyi.system.config;/**
 * @description:
 * @author: cc
 * @create: 2024-10-21 10:55
 **/

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

/**
 *@Auther:卷卷
 *@Date:2024/10/21 10:55
 *@Description: WebSocketConfig
 *@Version 1.0.0
 */
@Configuration
public class WebSocketConfig {

    @Bean
    public ServerEndpointExporter serverEndpointConfigurator(){
        return new ServerEndpointExporter();
    }


    /**
     *
     *     "type": "order",
     *     "userId": "1",
     *      "driverId": "1",
     *      "orderDetails": {}
     *
     */
}
